home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / swagg_m.zip / MISC.SWG / 0025_Get Print Screen Status.pas < prev    next >
Pascal/Delphi Source File  |  1993-08-18  |  835b  |  22 lines

  1. { Gets the status of the last or current Print Screen operation.
  2.   Part of the Heartware Toolkit v2.00 (HTparal.PAS) for Turbo Pascal.
  3.   Author: Jose Almeida. P.O.Box 4185. 1504 Lisboa Codex. Portugal.
  4.           I can also be reached at RIME network, site ->TIB or #5314.
  5.   Feel completely free to use this source code in any way you want, and, if
  6.   you do, please don't forget to mention my name, and, give me and Swag the
  7.   proper credits. }
  8.  
  9. FUNCTION PrtSc_Status : byte;
  10. { DESCRIPTION:
  11.     Gets the status of the last or current Print Screen operation.
  12.   SAMPLE CALL:
  13.     NB := PrtSc_Status;
  14.   RETURNS:
  15.     00h : Print Screen complete
  16.     01h : Print Screen currently in progress
  17.     FFh : Error occurred during Print Screen }
  18.  
  19. BEGIN { PrtSc_Status }
  20.   PrtSc_Status := Mem[$0000:$0500];
  21. END; { PrtSc_Status }
  22.